package com.sxj.PDMS.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 党员奖励表
 * @TableName party_member_awards
 */
@TableName(value ="party_member_awards")
@Data
public class PartyMemberAwards implements Serializable {
    /**
     * 奖励序号 非空
     */
    @TableId(type = IdType.ASSIGN_ID)
    private Long serialNumber;

    /**
     * 党员编号 非空
     */
    private Long partyMemberNumber;

    /**
     * 奖励内容 非空
     */
    private String bonusContent;

    /**
     * 奖励时间 非空
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date awardDate;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}